package com.ruibang.glass.equipment.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.equipment.domain.req.device.DeviceAllPageReq;
import com.ruibang.glass.equipment.entity.device.PointCheckPlan;
import com.teaming.cloud.framework2.common.model.ResultBody;

/**
 * <p>
 * 点检计划列表服务类
 * </p>
 *
 * @author mameng
 * @since 2024-03-20
 */
public interface PointCheckPlanService extends IService<PointCheckPlan> {
    /**
     * 点检计划列表
     * @param deviceAllPageReq
     * @return
     */
    IPage<PointCheckPlan> getCheckPlanList(DeviceAllPageReq deviceAllPageReq);
    /**
     * 新增修改
     * @param point
     * @return
     */

    ResultBody addOrUpdateCheck(PointCheckPlan point);
    /**
     * 设备下拉
     * @return
     */
    ResultBody getListDeviceName();
    /**
     * 点检计划定时按天
     */
    ResultBody getUserInfo();

    //校验点检计划单位为天
    void checkByDayPoint();

    //校验点检计划单位为周
    void checkByWeekPoint();

    void checkByMonthPoint();

    void checkByYearPoint();


}
